package com.huatai.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: ht-system
 * @description: 用户角色实体
 * @author: songxiude
 * @create: 2023-02-10 13:25
 **/
@TableName("sys_user_role")
@Data
@ApiModel(value = "用户角色实体",description = "用户角色实体")
public class UserRole {

	@TableField("user_id")
	@ApiModelProperty("用户id")
	private Long userId;

	@TableField("role_id")
	@ApiModelProperty("角色id")
	private Long roleId;
}
